package com.liang.controller;


import com.liang.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller//<bean id = "userController" class = "com.qf.controller.UserController">
public class UserController {

    @Autowired

    private UserService userService;

    public void addUser(){
        userService.addUser();
    }


//    public void setUserService(UserService userService) {
//        this.userService = userService;
//    }
}
